package org.zero.entity;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.type.Alias;

/**
 * @author Zero (cnzeropro@qq.com)
 * @date 2021/10/12 12:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Mapper
@Alias("typeWithGoodsList")
public class TypeWithGoodsList {
    private Integer id;
    private String name;

    private List<GoodsDO> goodsList;
}
